package services;

import domain.Bill;
import utils.PageBean;

import java.util.List;

public interface BillService {
    //根据条件分页查询订单
    List<Bill> queryBillByPage(String productName, int pid, int isPayment,
                              PageBean pageBean);
    //添加订单
    public boolean addBill(Bill bill);

    //根据指定id查看订单
    public Bill queryBillById(int bid);

    //修改订单
    public boolean modifyBill(Bill bill);

    //删除订单
    public int deleteBill(int bid);

    //查询总记录数
    int totalPage();
}
